package com.ws.test04;

/**
 * @author 王硕
 * @version jdk21
 * @className Test
 * @description
 * @date 2024/11/22 15:39
 */
public class Test {
    public static void main(String[] args) {
        Super subObject = new Sub();
        subObject.m1();
        ((Sub) subObject).m2();
    }
}
